Optimal. Leaf size=97 \[ \frac{b^2 (b B-2 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{8 c^{5/2}}-\frac{(b+2 c x) \sqrt{b x+c x^2} (b B-2 A c)}{8 c^2}+\frac{B \left (b x+c x^2\right )^{3/2}}{3 c} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0945847, antiderivative size = 97, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21 \[ \frac{b^2 (b B-2 A c) \tanh ^{-1}\left (\frac{\sqrt{c} x}{\sqrt{b x+c x^2}}\right )}{8 c^{5/2}}-\frac{(b+2 c x) \sqrt{b x+c x^2} (b B-2 A c)}{8 c^2}+\frac{B \left (b x+c x^2\right )^{3/2}}{3 c} \]
Antiderivative was successfully verified.
[In] Int[(A + B*x)*Sqrt[b*x + c*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 10.8201, size = 87, normalized size = 0.9 \[ \frac{B \left (b x + c x^{2}\right )^{\frac{3}{2}}}{3 c} - \frac{b^{2} \left (2 A c - B b\right ) \operatorname{atanh}{\left (\frac{\sqrt{c} x}{\sqrt{b x + c x^{2}}} \right )}}{8 c^{\frac{5}{2}}} + \frac{\left (b + 2 c x\right ) \left (2 A c - B b\right ) \sqrt{b x + c x^{2}}}{8 c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((B*x+A)*(c*x**2+b*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.184114, size = 110, normalized size = 1.13 \[ \frac{\sqrt{x (b+c x)} \left (\sqrt{c} \left (2 b c (3 A+B x)+4 c^2 x (3 A+2 B x)-3 b^2 B\right )+\frac{3 b^2 (b B-2 A c) \log \left (\sqrt{c} \sqrt{b+c x}+c \sqrt{x}\right )}{\sqrt{x} \sqrt{b+c x}}\right )}{24 c^{5/2}} \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x)*Sqrt[b*x + c*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 157, normalized size = 1.6 \[{\frac{Ax}{2}\sqrt{c{x}^{2}+bx}}+{\frac{Ab}{4\,c}\sqrt{c{x}^{2}+bx}}-{\frac{{b}^{2}A}{8}\ln \left ({1 \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){c}^{-{\frac{3}{2}}}}+{\frac{B}{3\,c} \left ( c{x}^{2}+bx \right ) ^{{\frac{3}{2}}}}-{\frac{xBb}{4\,c}\sqrt{c{x}^{2}+bx}}-{\frac{{b}^{2}B}{8\,{c}^{2}}\sqrt{c{x}^{2}+bx}}+{\frac{B{b}^{3}}{16}\ln \left ({1 \left ({\frac{b}{2}}+cx \right ){\frac{1}{\sqrt{c}}}}+\sqrt{c{x}^{2}+bx} \right ){c}^{-{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((B*x+A)*(c*x^2+b*x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x)*(B*x + A),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.27839, size = 1, normalized size = 0.01 \[ \left [\frac{2 \,{\left (8 \, B c^{2} x^{2} - 3 \, B b^{2} + 6 \, A b c + 2 \,{\left (B b c + 6 \, A c^{2}\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{c} - 3 \,{\left (B b^{3} - 2 \, A b^{2} c\right )} \log \left ({\left (2 \, c x + b\right )} \sqrt{c} - 2 \, \sqrt{c x^{2} + b x} c\right )}{48 \, c^{\frac{5}{2}}}, \frac{{\left (8 \, B c^{2} x^{2} - 3 \, B b^{2} + 6 \, A b c + 2 \,{\left (B b c + 6 \, A c^{2}\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{-c} + 3 \,{\left (B b^{3} - 2 \, A b^{2} c\right )} \arctan \left (\frac{\sqrt{c x^{2} + b x} \sqrt{-c}}{c x}\right )}{24 \, \sqrt{-c} c^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x)*(B*x + A),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{x \left (b + c x\right )} \left (A + B x\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x+A)*(c*x**2+b*x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.283774, size = 138, normalized size = 1.42 \[ \frac{1}{24} \, \sqrt{c x^{2} + b x}{\left (2 \,{\left (4 \, B x + \frac{B b c + 6 \, A c^{2}}{c^{2}}\right )} x - \frac{3 \,{\left (B b^{2} - 2 \, A b c\right )}}{c^{2}}\right )} - \frac{{\left (B b^{3} - 2 \, A b^{2} c\right )}{\rm ln}\left ({\left | -2 \,{\left (\sqrt{c} x - \sqrt{c x^{2} + b x}\right )} \sqrt{c} - b \right |}\right )}{16 \, c^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^2 + b*x)*(B*x + A),x, algorithm="giac")
[Out]